package com.pw.tool.utils;

import cn.hutool.extra.pinyin.PinyinUtil;

import java.util.Scanner;

public class PinyinUtils {

    public static void main(String[] args) {
        System.out.println("输入汉字：");
        Scanner sc = new Scanner(System.in);


        boolean btn = true;
        while(btn){
            String line = sc.nextLine();
            System.out.println("输入数据："+line);
            if(line.startsWith("esc")|| line.startsWith("q")){
                System.out.println("退出。。。。。。。");
                btn=false;
            }
        }
    }
}
